<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      *,
      *::before,
      *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      .containter {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
        box-shadow: 0 0 0 2px rgba(133, 144, 166, 0.2);
      }
      .header {
        display: flex;
        width: auto;
        max-width: 1170px;
        min-width: 1000px;
        padding-left: 16px;
        padding-right: 16px;
        height: 52px;
        justify-content: space-between;
      }
      .left {
        flex: 0 0 296px;
        background-color: #fff;
        display: flex;
        align-items: center;
      }
      .left-image {
        height: 100%;
        display: flex;
        align-items: center;
      }
      .left-nav {
        display: flex;
        padding-left: 18px;
      }
      .left-nav-li {
        cursor: pointer;
        margin: 0 22px;
        font-size: 16px;
        color: #333;
        display: flex;
        justify-content: center;
        white-space: nowrap;
      }
      .left-nav-li:hover {
        color: #175199;
      }
      .is-active {
        color: #06f;
      }
      .is-active :hover {
        color: #06f;
      }
      .right {
        flex: 0 0 296px;
        display: flex;
      }
      .right-input {
        flex: 1;
        display: flex;
        align-items: center;
      }
      .right-content {
        margin-left: 12px;
        display: flex;
        align-items: center;
      }
      .right-btn {
        background-color: #0066ff;
        padding: 8px 20px;
        display: flex;
        align-items: center;
        color: #fff;
        border-radius: 999px;
        font-size: 14px;
        cursor: pointer;
      }
      .right-btn:hover {
        background-color: #005ce6;
      }

      input {
        outline: none;
        color: #666;
        font-size: 0.9em;
        padding: 0.5em;
        border-radius: 0.2em;
        border: 1px solid #ebebeb;
        padding-left: 15px;
        padding-right: 15px;
        -webkit-appearance: none;
        width: 100%;
        border-radius: 999px;
        background-color: #f6f6f6;
      }
      input:hover {
        /* border: 1px solid #b4a078; */
      }
      input:focus {
        border: 1px solid #8590a6;
        box-shadow: 0 0 0 2px rgba(133, 144, 166, 0.2);
        background-color: #fff;
      }
    </style>
  </head>

  <body>
    <div class="containter">
      <div class="header">
        <div class="left">
          <div class="left-image">
            <img src="./1.png" alt="" />
          </div>
          <div class="left-nav">
            <div class="left-nav-li">关注</div>
            <div class="left-nav-li">推荐</div>
            <div class="left-nav-li">热榜</div>
            <div class="left-nav-li is-active">视频</div>
          </div>
        </div>
        <div class="right">
          <div class="right-input">
            <input type="text" placeholder="搜索你感兴趣的内容..." />
          </div>
          <span class="right-content">
            <span class="right-btn">提问</span>
          </span>
        </div>
      </div>
    </div>
  </body>
</html>
